#ifndef MYLISTVIEW_H
#define MYLISTVIEW_H

#include <QMouseEvent>
#include <QStandardItemModel>
#include <QWidget>

namespace Ui {
class MyListView;
}

class MyListView : public QWidget
{
    Q_OBJECT

public:
    explicit MyListView(QWidget *parent = 0);
    ~MyListView();

    void setSongList(QStandardItemModel *&songList);
public slots:
    void getIndexData(const QModelIndex &index);
private:
    Ui::MyListView *ui;
signals:
    void selectSongName(QString); //通知主窗口选择的文件名
};

#endif // MYLISTVIEW_H
